package com.app.qbake.module.mine.activity;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;

import com.wind.base.BaseActivity;
import com.wind.base.utils.Navigator;
import com.app.qbake.R;
import com.app.qbake.module.mine.GetAlipayAccountFragment;

/**
 * Created by wind on 2018/10/20.
 */

public class WithdrawMoneyActivity extends BaseActivity {
    /**
     *
     * @param context
     * @param amount  可提现金额
     */
    public static void start(Context context,Double amount){
        Navigator.navigate(context,WithdrawMoneyActivity.class,amount);
    }
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.fragment_container_with_toolbar);
        double amount=Navigator.getSerializableExtra(this);
        replaceFragment( GetAlipayAccountFragment.getInstance(amount));
    }

    @Override
    protected void setTitle() {
        mTitleBar.setTitle("提现");
    }
}
